package com.wyh.springcloud.service;

import pojo.Payment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wyh
 * @version 1.0
 * @date 2021/11/2 16:34
 */
public interface PaymentService {
    int addPayment(Payment payment);

    public List<Payment> findAll();

    public Payment getPaymentById(@Param("id") Long id);
}
